package orderdata;

import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

public class OrderApplication {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
        DataStreamSource<OrderData> orderDataDataStreamSource = env.addSource(new OrderDataSource());
        orderDataDataStreamSource.print();
        env.execute();


    }
}
